package com.ljh.product.service;

import com.ljh.product.mapper.ProductInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ljh.api.model.ProductInfo;

/**
 * @author: Themberfue
 * @date: 2025/4/10 23:52
 * @description:
 */
@Service
public class ProductService {
    @Autowired
    ProductInfoMapper productInfoMapper;

    public ProductInfo getProductById(Integer productId) {
        return productInfoMapper.selectProductById(productId);
    }
}
